rockchip: set gpio2 ~ gpio4 to input and pull none mode
authorCaesar Wang <[email protected]>
Fri, 9 Sep 2016 18:47:53 +0000 (02:47 +0800)
committerCaesar Wang <[email protected]>
Fri, 9 Sep 2016 20:06:44 +0000 (04:06 +0800)
commit2bff35bb7c3a20edddce8c5c3bfa8d7e948679e9
treea69f66e3d730f77d4cb7c7390b62e0643a768d7b
parente550c6310118d1369796751ce98fe66167db0861
rockchip: set gpio2 ~ gpio4 to input and pull none mode

For save power cosumption, if gpio power supply shut down, we need to
set gpio2 ~ gpio4 to input and HiZ status when suspend, and recovery
they status when rusume. we do it base on apio pass from loader.

Change-Id: I59fd2395e5e37e63425472a39f519822c9197e4c
plat/rockchip/common/include/plat_params.h
plat/rockchip/common/include/plat_private.h
plat/rockchip/common/params_setup.c
plat/rockchip/rk3399/drivers/pmu/pmu.c
plat/rockchip/rk3399/drivers/pmu/pmu.h